package com.nulldev.util.web.HttpClient.providers;

import com.nulldev.util.data.Variables;

public enum HttpProvider {
	/* External */

	OKHTTP("external.okhttp"),
	KWIK("external.kwik"),

	/* Internal */

	BACKPORT("backport"),
	NATIVE("native"),
	LEGACY("legacy"),
	SCWK("scwk"),
	SCFK("scfk"),

	;

	private final String id;

	private HttpProvider(final String id) {
		this.id = Variables.requireNonNullObject(id, "id");
	}

	public String id() {
		return this.id;
	}

}
